import { getRequest } from "./api";
export const initMenu = (router,store)=>{
    if(store.state.router.length>0){
        return;
    }

    getRequest('/system/config/menu').then(data=>{
        if(data){
            let fomRouters = formatRoutes(data);
        }
    })




}